<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<?php echo base_url()?>themes/default/css/bootstrap.min.css" rel="stylesheet" />
<link rel="stylesheet" href="<?php echo base_url()?>themes/default/css/ace.min.css" />

<link rel="stylesheet" href="<?php echo base_url()?>themes/default/css/ace-skins.min.css" />

<link rel="stylesheet" href="<?php echo base_url()?>themes/default/css/font-awesome.min.css" />

<!-- jQuery 2.0.2 -->
<script src="<?php echo base_url()?>public/js/jquery-1.7.2.min.js"></script>
<!-- Bootstrap -->
<script src="<?php echo base_url()?>public/js/bootstrap.min.js" type="text/javascript"></script>
</head>
<style>
body {
font-family: "Microsoft YaHei";
}
.table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td{
padding:2px;
vertical-align:middle;
}
</style>
<body>
<div class="col_main"><!------右侧开始------>
	<!-- Right side column. Contains the navbar and content of the page -->
    <aside class="right-side">
        <!-- Main content -->
        <section class="content notices_box" style="border:none;">
			<div class="col-xs-12" style="padding:0px;">
				<div class="box">
    				<div class="box-body">
                    <table class="table table-striped table-bordered">
                            <tbody>
                            <tr>
	                              <th>发送给</th>
	                              <th>短信模板ID</th>
	                    		  <th>发送结果</th>
                            </tr>
                            </tbody>
                            <tbody>
                            <?php if(is_array($result)&&count($result)>0){
	                            foreach ($result as $val){
	                            	echo '<tr>';
	                            	echo '<td>'.$val->phone.'</td>';
	                            	echo '<td>'.$val->temp_id.'</td>';
		                            echo '<td>'.$val->result.'</td>';
		                            echo '</tr>';
	                            }
                            }else{
                            	echo '<tr><td colspan="3">无数据</td></tr>';
                            }?>
                            </tbody>
                         </table>
                         </div>
                       <div  class="box-footer clearfix">
	                       <?php if (isset($page))echo $page;?>
                       </div>
                    </div>
				</div>
        </section><!-- /.content -->
    </aside><!-- /.right-side -->
</div>
</body>
</html>
